package com.wash.shoes.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author lijianguo
 * @Date 30/09/2024
 * 重新预约时间
 **/
@Data
public class ReserveDto implements Serializable {

    @ApiModelProperty(value = "订单的id")
    @NotEmpty(message = "orderId不能为空")
    String orderId;

    @ApiModelProperty(value = "预约人姓名")
    @NotEmpty(message = "reserveName不能为空")
    String reserveName;

    @ApiModelProperty(value = "预约地址")
    @NotEmpty(message = "reserveAddress不能为空")
    String reserveAddress;

    @ApiModelProperty(value = "预约人电话")
    @NotEmpty(message = "reservePhone不能为空")
    String reservePhone;

    @ApiModelProperty(value = "预约起始时间（毫秒数）")
    @NotNull(message = "bookStartTime不能为空")
    Long bookStartTime;

    @ApiModelProperty(value = "预约结束时间")
    @NotNull(message = "bookEndTime不能为空")
    Long bookEndTime;


}
